import React, { Component } from 'react'
import PureRenderMixin from 'react-addons-pure-render-mixin';
import './index.scss'

export default class HeaderBar extends Component {
  constructor(props) {
    super(props);
    this.shouldComponentUpdate = PureRenderMixin.shouldComponentUpdate.bind(this);
  }
  
  render() {
    return (
      <div className="headerBar">
        <div className="float-left city-name">
          <span>{this.props.cityName}</span>
          <i className="iconfont icon-arrow-down"></i>
        </div>
        <div className="float-right user-setting">
          <i className="iconfont icon-setting"></i>
        </div>
        <div className="float-middle">
          {/* <i className="iconfont icon-search"></i> */}
          <input className="input-search" />
        </div>
      
      </div>
    )
  }
}
